package com.woniu.humanresource.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName purchase
 */
@TableName(value ="purchase")
@Data
public class Purchase implements Serializable {
    //采购表ID
    @TableId(value = "purchase_id", type = IdType.AUTO)
    private Integer id;

    //采购单号
    @TableField(value = "purchase_num")
    private String num;

    //申请日期
    @TableField(value = "purchase_applicationdate")
    private Date applicationdate;

    //申请公司
    @TableField(value = "purchase_applicationcompany")
    private String applicationcompany;

    //申请部门
    @TableField(value = "purchase_applicationdepartment")
    private String applicationdepartment;

    //申请人
    @TableField(value = "purchase_applicationuser")
    private String applicationuser;

    //供应商
    @TableField(value = "purchase_supplier")
    private String supplier;

    //附件
    @TableField(value = "purchase_enclosure")
    private String enclosure;

    //申请说明
    @TableField(value = "purchase_applicationexplain")
    private String applicationexplain;

    //状态
    @TableField(value = "purchase_status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}